const QRcode = require('qrcode');

QRcode.toString('I am a girl!', {
    type: 'terminal'
}, function (err, data) {
    console.log(data);
})